syntax on
let mapleader=" "
set number
set norelativenumber
set cursorline
set wrap
set showcmd
set wildmenu
set hlsearch
exec "nohlsearch"
set incsearch
set ignorecase
set smartcase

map S :w<CR>
map Q :q<CR>
"map R :source $MYVIMRC<CR>
noremap <LEADER><CR> :nohlsearch<CR>
map R :InstantMarkdownPreview<CR>


call plug#begin('~/.vim/plugged')

Plug 'vim-airline/vim-airline'
Plug 'connorholyday/vim-snazzy'
Plug 'iamcco/markdown-preview.nvim'
Plug 'suan/vim-instant-markdown'

"A dependency of 'ncm2'.
"Plug 'roxma/nvim-yarp'

" v2 of the nvim-completion-manager.
"Plug 'ncm2/ncm2'

" LanguageServer client for NeoVim.
"Plug 'autozimu/LanguageClient-neovim', {
"  \ 'branch': 'next',
"  \ 'do': 'bash install.sh',
"  \ }
call plug#end()



"autocmd BufEnter  *  call ncm2#enable_for_buffer()
set completeopt=noinsert,menuone,noselect

















let g:SnazzyTransparent = 1
colorscheme snazzy









